export const testController = async (ctx, next) => {
  ctx.response.type = "text/html";
  ctx.response.set({
    "Access-Control-Allow-Origin": "*"
  });

  ctx.body = {
    status: 200,
    msg: "获取成功",
    data: ctx.request.body
  };
  console.log("get test ");
};
